package com.example.jetpack_lifecycle

import android.app.Application
import androidx.lifecycle.ProcessLifecycleOwner

class Myapplication : Application() {

    override fun onCreate() {
        super.onCreate()
        ProcessLifecycleOwner.get().lifecycle.addObserver(MyApplicationObserver())
    }

}